package java51.lesson0529;

public class Telecontroller {
	private double weight;
	private double Range;
	private String colour;

	public Telecontroller(double weight, double range, String colour) {
		super();
		this.weight = weight;
		Range = range;
		this.colour = colour;
	}

	public void start(TV t) {
		t.tvInfo();
		System.out.println("按下开关按钮");
		t.start();
	}

	public void change(TV t) {
		System.out.println("点击遥控器上下换台或数字键换台");
		t.change();
	}

	public void stop(TV t) {
		System.out.println("按下开关按钮");
		t.stop();
	}

	public void teInfo() {
		System.out.println("一个控制范围" + Range + "米" + colour + "重" + weight + "g的遥控器");
	}
}
